﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RestSharp;

namespace Ymatou.ServiceCenter
{
    public class JsonRequest : RestRequest
    {
        public JsonRequest()
            : base()
        {
            this.UseJsonDotNetSerializerWrapper();
        }

        public JsonRequest(string resource)
            : base(resource)
        {
            this.UseJsonDotNetSerializerWrapper();
        }

        public JsonRequest(Uri resource)
            : base(resource)
        {
            this.UseJsonDotNetSerializerWrapper();
        }

        public JsonRequest(string resource, Method method)
            : base(resource, method)
        {
            this.UseJsonDotNetSerializerWrapper();
        }

        public JsonRequest(Uri resource, Method method)
            : base(resource, method)
        {
            this.UseJsonDotNetSerializerWrapper();
        }
    }
}
